package com.sclibackup.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static Date str2date(String Date){
		SimpleDateFormat sf = new SimpleDateFormat("yyyy/MM/dd HH:m:ss");
		try {
			return sf.parse(Date);
		} catch (ParseException e) {
			e.printStackTrace();
		}
		return null;
	}
}
